using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Collections;
using System.Data;
using System.ComponentModel;
using System.Data.OracleClient;
using WPFExcelReport.Helpers;
using WPFExcelReport.Controls;
namespace WPFExcelReport
{
    public partial class VWWERT
    {
        public DataRow Convert2WWERT(DataRow dwInput, string ITXDBVERSION, bool IsConvert = false)
        {
            DataSet SResult = new DataSet();
            SResult = QueryWWERT(dwInput, 0);
            DataRow dwReturn = null;
            if (SResult.Tables[0].Rows.Count > 0)
            {
                dwReturn = SResult.Tables[0].Rows[0];
            }
            else
            {
                dwReturn = SResult.Tables[0].NewRow();
            }
            switch (ITXDBVERSION)
            {
                case "YGR":
                    #region=========
         dwReturn["WWMANDANT"] = " ".PadRight(2 ); 
         dwReturn["WWPART"] = " ".PadRight(5 ); 
         dwReturn["WWKUNDNR"] = " ".PadRight(8 ); 
         dwReturn["WWWERK"] = " ".PadRight(3 ); 
         dwReturn["WWABT"] = " ".PadRight(3 ); 
         dwReturn["WWWAKZ"] = " ".PadRight(1 ); 
         dwReturn["WWART"] = " ".PadRight(20 ); 
         dwReturn["WWDESSIN"] = " ".PadRight(10 ); 
         dwReturn["WWBESCHICH"] = " ".PadRight(10 ); 
         dwReturn["WWVAR"] = " ".PadRight(2 ); 
         dwReturn["WWMEEH"] = " ".PadRight(3 ); 
         dwReturn["WWMEGRP"] = " ".PadRight(1 ); 
         dwReturn["WWMEFKT"] = " ".PadRight(12 ); 
         dwReturn["WWWAEHRSL"] = " ".PadRight(3 ); 
         dwReturn["WWPRVH"] = " ".PadRight(0 ); 
         dwReturn["WWPRAK"] = " ".PadRight(0 ); 
         dwReturn["WWPRKU"] = " ".PadRight(0 ); 
         dwReturn["WWZUART1"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP1"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH1"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK1"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU1"] = " ".PadRight(0 ); 
         dwReturn["WWZUART2"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP2"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH2"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK2"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU2"] = " ".PadRight(0 ); 
         dwReturn["WWZUART3"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP3"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH3"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK3"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU3"] = " ".PadRight(0 ); 
         dwReturn["WWZUART4"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP4"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH4"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK4"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU4"] = " ".PadRight(0 ); 
         dwReturn["WWZUART5"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP5"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH5"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK5"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU5"] = " ".PadRight(0 ); 
         dwReturn["WWZUART6"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP6"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH6"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK6"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU6"] = " ".PadRight(0 ); 
         dwReturn["WWZUART7"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP7"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH7"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK7"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU7"] = " ".PadRight(0 ); 
         dwReturn["WWZUART8"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP8"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH8"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK8"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU8"] = " ".PadRight(0 ); 
         dwReturn["WWZUART9"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP9"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH9"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK9"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU9"] = " ".PadRight(0 ); 
         dwReturn["WWZUART10"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP10"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH10"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK10"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU10"] = " ".PadRight(0 ); 
         dwReturn["WWZUART11"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP11"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH11"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK11"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU11"] = " ".PadRight(0 ); 
         dwReturn["WWZUART12"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP12"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH12"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK12"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU12"] = " ".PadRight(0 ); 
         dwReturn["WWZUART13"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP13"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH13"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK13"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU13"] = " ".PadRight(0 ); 
         dwReturn["WWZUART14"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP14"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH14"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK14"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU14"] = " ".PadRight(0 ); 
         dwReturn["WWZUART15"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP15"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH15"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK15"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU15"] = " ".PadRight(0 ); 
         dwReturn["WWZUART16"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP16"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH16"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK16"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU16"] = " ".PadRight(0 ); 
         dwReturn["WWZUART17"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP17"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH17"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK17"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU17"] = " ".PadRight(0 ); 
         dwReturn["WWZUART18"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP18"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH18"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK18"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU18"] = " ".PadRight(0 ); 
         dwReturn["WWZUART19"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP19"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH19"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK19"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU19"] = " ".PadRight(0 ); 
         dwReturn["WWZUART20"] = " ".PadRight(1 ); 
         dwReturn["WWPRGRP20"] = " ".PadRight(1 ); 
         dwReturn["WWZUABVH20"] = " ".PadRight(0 ); 
         dwReturn["WWZUABAK20"] = " ".PadRight(0 ); 
         dwReturn["WWZUABKU20"] = " ".PadRight(0 ); 
         dwReturn["WWZS1"] = " ".PadRight(2 ); 
         dwReturn["WWZSABVH1"] = " ".PadRight(0 ); 
         dwReturn["WWZSABAK1"] = " ".PadRight(0 ); 
         dwReturn["WWZSABKU1"] = " ".PadRight(0 ); 
         dwReturn["WWZS2"] = " ".PadRight(2 ); 
         dwReturn["WWZSABVH2"] = " ".PadRight(0 ); 
         dwReturn["WWZSABAK2"] = " ".PadRight(0 ); 
         dwReturn["WWZSABKU2"] = " ".PadRight(0 ); 
         dwReturn["WWZS3"] = " ".PadRight(2 ); 
         dwReturn["WWZSABVH3"] = " ".PadRight(0 ); 
         dwReturn["WWZSABAK3"] = " ".PadRight(0 ); 
         dwReturn["WWZSABKU3"] = " ".PadRight(0 ); 
         dwReturn["WWZS4"] = " ".PadRight(2 ); 
         dwReturn["WWZSABVH4"] = " ".PadRight(0 ); 
         dwReturn["WWZSABAK4"] = " ".PadRight(0 ); 
         dwReturn["WWZSABKU4"] = " ".PadRight(0 ); 
         dwReturn["WWZS5"] = " ".PadRight(2 ); 
         dwReturn["WWZSABVH5"] = " ".PadRight(0 ); 
         dwReturn["WWZSABAK5"] = " ".PadRight(0 ); 
         dwReturn["WWZSABKU5"] = " ".PadRight(0 ); 
         dwReturn["WWZS6"] = " ".PadRight(2 ); 
         dwReturn["WWZSABVH6"] = " ".PadRight(0 ); 
         dwReturn["WWZSABAK6"] = " ".PadRight(0 ); 
         dwReturn["WWZSABKU6"] = " ".PadRight(0 ); 
         dwReturn["WWZS7"] = " ".PadRight(2 ); 
         dwReturn["WWZSABVH7"] = " ".PadRight(0 ); 
         dwReturn["WWZSABAK7"] = " ".PadRight(0 ); 
         dwReturn["WWZSABKU7"] = " ".PadRight(0 ); 
         dwReturn["WWZS8"] = " ".PadRight(2 ); 
         dwReturn["WWZSABVH8"] = " ".PadRight(0 ); 
         dwReturn["WWZSABAK8"] = " ".PadRight(0 ); 
         dwReturn["WWZSABKU8"] = " ".PadRight(0 ); 
         dwReturn["WWZS9"] = " ".PadRight(2 ); 
         dwReturn["WWZSABVH9"] = " ".PadRight(0 ); 
         dwReturn["WWZSABAK9"] = " ".PadRight(0 ); 
         dwReturn["WWZSABKU9"] = " ".PadRight(0 ); 
         dwReturn["WWZS10"] = " ".PadRight(2 ); 
         dwReturn["WWZSABVH10"] = " ".PadRight(0 ); 
         dwReturn["WWZSABAK10"] = " ".PadRight(0 ); 
         dwReturn["WWZSABKU10"] = " ".PadRight(0 ); 
         dwReturn["WWZS11"] = " ".PadRight(2 ); 
         dwReturn["WWZSABVH11"] = " ".PadRight(0 ); 
         dwReturn["WWZSABAK11"] = " ".PadRight(0 ); 
         dwReturn["WWZSABKU11"] = " ".PadRight(0 ); 
         dwReturn["WWZS12"] = " ".PadRight(2 ); 
         dwReturn["WWZSABVH12"] = " ".PadRight(0 ); 
         dwReturn["WWZSABAK12"] = " ".PadRight(0 ); 
         dwReturn["WWZSABKU12"] = " ".PadRight(0 ); 
         dwReturn["WWABSCHRVH"] = " ".PadRight(0 ); 
         dwReturn["WWABSCHRAK"] = " ".PadRight(0 ); 
         dwReturn["WWABSCHRKU"] = " ".PadRight(0 ); 
         dwReturn["WWFRACHT"] = " ".PadRight(0 ); 
         dwReturn["WWFRMEEH"] = " ".PadRight(3 ); 
         dwReturn["WWIMP"] = " ".PadRight(0 ); 
         dwReturn["WWVERS"] = " ".PadRight(0 ); 
         dwReturn["WWZOLL"] = " ".PadRight(0 ); 
         dwReturn["WWFRGRENZ"] = " ".PadRight(0 ); 
         dwReturn["WWFRGRMEEH"] = " ".PadRight(3 ); 
         dwReturn["WWVERSGRENZ"] = " ".PadRight(0 ); 
         dwReturn["WWRABART1"] = " ".PadRight(3 ); 
         dwReturn["WWRABWERT1"] = " ".PadRight(0 ); 
         dwReturn["WWRABMEEH1"] = " ".PadRight(3 ); 
         dwReturn["WWRABKZ1"] = " ".PadRight(1 ); 
         dwReturn["WWRABART2"] = " ".PadRight(3 ); 
         dwReturn["WWRABWERT2"] = " ".PadRight(0 ); 
         dwReturn["WWRABMEEH2"] = " ".PadRight(3 ); 
         dwReturn["WWRABKZ2"] = " ".PadRight(1 ); 
         dwReturn["WWRABART3"] = " ".PadRight(3 ); 
         dwReturn["WWRABWERT3"] = " ".PadRight(0 ); 
         dwReturn["WWRABMEEH3"] = " ".PadRight(3 ); 
         dwReturn["WWRABKZ3"] = " ".PadRight(1 ); 
         dwReturn["WWRABART4"] = " ".PadRight(3 ); 
         dwReturn["WWRABWERT4"] = " ".PadRight(0 ); 
         dwReturn["WWRABMEEH4"] = " ".PadRight(3 ); 
         dwReturn["WWRABKZ4"] = " ".PadRight(1 ); 
         dwReturn["WWRABART5"] = " ".PadRight(3 ); 
         dwReturn["WWRABWERT5"] = " ".PadRight(0 ); 
         dwReturn["WWRABMEEH5"] = " ".PadRight(3 ); 
         dwReturn["WWRABKZ5"] = " ".PadRight(1 ); 
         dwReturn["WWZUABART1"] = " ".PadRight(3 ); 
         dwReturn["WWZUABWERT1"] = " ".PadRight(0 ); 
         dwReturn["WWZUABMEEH1"] = " ".PadRight(3 ); 
         dwReturn["WWZUABKZ1"] = " ".PadRight(1 ); 
         dwReturn["WWZUABART2"] = " ".PadRight(3 ); 
         dwReturn["WWZUABWERT2"] = " ".PadRight(0 ); 
         dwReturn["WWZUABMEEH2"] = " ".PadRight(3 ); 
         dwReturn["WWZUABKZ2"] = " ".PadRight(1 ); 
         dwReturn["WWZUABART3"] = " ".PadRight(3 ); 
         dwReturn["WWZUABWERT3"] = " ".PadRight(0 ); 
         dwReturn["WWZUABMEEH3"] = " ".PadRight(3 ); 
         dwReturn["WWZUABKZ3"] = " ".PadRight(1 ); 
         dwReturn["WWZUABART4"] = " ".PadRight(3 ); 
         dwReturn["WWZUABWERT4"] = " ".PadRight(0 ); 
         dwReturn["WWZUABMEEH4"] = " ".PadRight(3 ); 
         dwReturn["WWZUABKZ4"] = " ".PadRight(1 ); 
         dwReturn["WWZUABART5"] = " ".PadRight(3 ); 
         dwReturn["WWZUABWERT5"] = " ".PadRight(0 ); 
         dwReturn["WWZUABMEEH5"] = " ".PadRight(3 ); 
         dwReturn["WWZUABKZ5"] = " ".PadRight(1 ); 
         dwReturn["WWVTYP1"] = " ".PadRight(1 ); 
         dwReturn["WWVERPART1"] = " ".PadRight(6 ); 
         dwReturn["WWVERPWERT1"] = " ".PadRight(0 ); 
         dwReturn["WWVERPFILLER1"] = " ".PadRight(3 ); 
         dwReturn["WWVTYP2"] = " ".PadRight(1 ); 
         dwReturn["WWVERPART2"] = " ".PadRight(6 ); 
         dwReturn["WWVERPWERT2"] = " ".PadRight(0 ); 
         dwReturn["WWVERPFILLER2"] = " ".PadRight(3 ); 
         dwReturn["WWVTYP3"] = " ".PadRight(1 ); 
         dwReturn["WWVERPART3"] = " ".PadRight(6 ); 
         dwReturn["WWVERPWERT3"] = " ".PadRight(0 ); 
         dwReturn["WWVERPFILLER3"] = " ".PadRight(3 ); 
         dwReturn["WWVTYP4"] = " ".PadRight(1 ); 
         dwReturn["WWVERPART4"] = " ".PadRight(6 ); 
         dwReturn["WWVERPWERT4"] = " ".PadRight(0 ); 
         dwReturn["WWVERPFILLER4"] = " ".PadRight(3 ); 
         dwReturn["WWVTYP5"] = " ".PadRight(1 ); 
         dwReturn["WWVERPART5"] = " ".PadRight(6 ); 
         dwReturn["WWVERPWERT5"] = " ".PadRight(0 ); 
         dwReturn["WWVERPFILLER5"] = " ".PadRight(3 ); 
         dwReturn["WWVTYP6"] = " ".PadRight(1 ); 
         dwReturn["WWVERPART6"] = " ".PadRight(6 ); 
         dwReturn["WWVERPWERT6"] = " ".PadRight(0 ); 
         dwReturn["WWVERPFILLER6"] = " ".PadRight(3 ); 
         dwReturn["WWVTYP7"] = " ".PadRight(1 ); 
         dwReturn["WWVERPART7"] = " ".PadRight(6 ); 
         dwReturn["WWVERPWERT7"] = " ".PadRight(0 ); 
         dwReturn["WWVERPFILLER7"] = " ".PadRight(3 ); 
         dwReturn["WWVTYP8"] = " ".PadRight(1 ); 
         dwReturn["WWVERPART8"] = " ".PadRight(6 ); 
         dwReturn["WWVERPWERT8"] = " ".PadRight(0 ); 
         dwReturn["WWVERPFILLER8"] = " ".PadRight(3 ); 
         dwReturn["WWVTYP9"] = " ".PadRight(1 ); 
         dwReturn["WWVERPART9"] = " ".PadRight(6 ); 
         dwReturn["WWVERPWERT9"] = " ".PadRight(0 ); 
         dwReturn["WWVERPFILLER9"] = " ".PadRight(3 ); 
         dwReturn["WWVTYP10"] = " ".PadRight(1 ); 
         dwReturn["WWVERPART10"] = " ".PadRight(6 ); 
         dwReturn["WWVERPWERT10"] = " ".PadRight(0 ); 
         dwReturn["WWVERPFILLER10"] = " ".PadRight(3 ); 
         dwReturn["WWVTYP11"] = " ".PadRight(1 ); 
         dwReturn["WWVERPART11"] = " ".PadRight(6 ); 
         dwReturn["WWVERPWERT11"] = " ".PadRight(0 ); 
         dwReturn["WWVERPFILLER11"] = " ".PadRight(3 ); 
         dwReturn["WWVTYP12"] = " ".PadRight(1 ); 
         dwReturn["WWVERPART12"] = " ".PadRight(6 ); 
         dwReturn["WWVERPWERT12"] = " ".PadRight(0 ); 
         dwReturn["WWVERPFILLER12"] = " ".PadRight(3 ); 
         dwReturn["WWSTMENGE1"] = " ".PadRight(0 ); 
         dwReturn["WWSTABBIS1"] = " ".PadRight(1 ); 
         dwReturn["WWSTVH1"] = " ".PadRight(0 ); 
         dwReturn["WWSTAK1"] = " ".PadRight(0 ); 
         dwReturn["WWSTKU1"] = " ".PadRight(0 ); 
         dwReturn["WWSTMENGE2"] = " ".PadRight(0 ); 
         dwReturn["WWSTABBIS2"] = " ".PadRight(1 ); 
         dwReturn["WWSTVH2"] = " ".PadRight(0 ); 
         dwReturn["WWSTAK2"] = " ".PadRight(0 ); 
         dwReturn["WWSTKU2"] = " ".PadRight(0 ); 
         dwReturn["WWSTMENGE3"] = " ".PadRight(0 ); 
         dwReturn["WWSTABBIS3"] = " ".PadRight(1 ); 
         dwReturn["WWSTVH3"] = " ".PadRight(0 ); 
         dwReturn["WWSTAK3"] = " ".PadRight(0 ); 
         dwReturn["WWSTKU3"] = " ".PadRight(0 ); 
         dwReturn["WWSTMENGE4"] = " ".PadRight(0 ); 
         dwReturn["WWSTABBIS4"] = " ".PadRight(1 ); 
         dwReturn["WWSTVH4"] = " ".PadRight(0 ); 
         dwReturn["WWSTAK4"] = " ".PadRight(0 ); 
         dwReturn["WWSTKU4"] = " ".PadRight(0 ); 
         dwReturn["WWSTMENGE5"] = " ".PadRight(0 ); 
         dwReturn["WWSTABBIS5"] = " ".PadRight(1 ); 
         dwReturn["WWSTVH5"] = " ".PadRight(0 ); 
         dwReturn["WWSTAK5"] = " ".PadRight(0 ); 
         dwReturn["WWSTKU5"] = " ".PadRight(0 ); 
         dwReturn["WWAENDZL"] = " ".PadRight(0 ); 
         dwReturn["WWAENDBEN"] = " ".PadRight(8 ); 
         dwReturn["WWAENDDAT"] = " ".PadRight(0 ); 
         dwReturn["WWNEUBEN"] = " ".PadRight(8 ); 
         dwReturn["WWNEUDAT"] = " ".PadRight(0 ); 
         dwReturn["WWFILLER"] = " ".PadRight(26 ); 
                    #endregion
                    break;
                case "JLT":

                    break;
                default:

                    break;
            }
            if (IsConvert)
            {
                foreach (DataColumn cm in dwInput.Table.Columns)
                {
                    if (dwInput[cm.ColumnName].ToString() == "")
                        continue;
                    if (dwReturn.Table.Columns.Contains(cm.ColumnName))
                    {
                        dwReturn[cm.ColumnName] = dwInput[cm.ColumnName];
                    }
                }
            }
            return dwReturn;
        }
        public void MapWWERT(ref DataRow dwLocal, DataRow dwData)
        {
            BlindMap(ref dwLocal, dwData);
        }
        public void SaveWWERT(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            DataSet setResult = new DataSet();
            DataTable tbLocal = null;
            DataRow dwLocal = null;
            bool flgExist = false;
            setResult = QueryWWERT(dwData);
            if (setResult.Tables.Count > 0)
            {
                tbLocal = setResult.Tables[0];
                if (tbLocal.Rows.Count > 0)
                {
                    flgExist = true;
                    dwLocal = tbLocal.Rows[0];
                }
                else
                {
                    dwLocal = tbLocal.NewRow();
                }
            }
            MapWWERT(ref dwLocal, dwData);

            if (!flgExist)
            {

                InsertWWERT(dwLocal, ITXDBVERSION);
            }
            UpdateWWERT(dwLocal);
        }
        public void InsertWWERT(DataRow dwData, string ITXDBVERSION = "50.24")
        {
            OracleCommand or1;
            or1 = OracleDB.CreateCommand();
            switch (ITXDBVERSION)
            {
                case "YGR":
                    or1.CommandText = "INSERT INTO WWERT(VAKBMANDANT, VAKBKOLL, VAKBART, VAKBKUNDNR, VAKBFARBE, VAKBKDARTNR, VAKBKDARTBEZ, VAKBKDFARBNR, VAKBANDRUCK, VAKBMEGEW, VAKBMENGEH, VAKBGEWVON, VAKBGEWBIS, VAKBGEWCA, VAKBGEWFKT, VAKBGEWGRP, VAKBMEGFKT, VAKBMEGGRP, VAKBAENDZL, VAKBAENDBEN, VAKBAENDDAT, VAKBNEUBEN, VAKBNEUDAT, VAKBFILLER)"
                        + " VALUES (:VAKBMANDANT, :VAKBKOLL, :VAKBART, :VAKBKUNDNR, :VAKBFARBE, '                         ', '                         ', '                             ', ' ', '   ', '   ', 0, 0, ' ', '000000000000', ' ', '000000000000', ' ', 0, '        ', '000000', '        ', '      ', '                                          ')";
                    or1.Parameters.Add("VAKBMANDANT", OracleType.NVarChar).Value = dwData["VAKBMANDANT"].ToString();
                    or1.Parameters.Add("VAKBKOLL", OracleType.NVarChar).Value = dwData["VAKBKOLL"].ToString();
                    or1.Parameters.Add("VAKBART", OracleType.NVarChar).Value = dwData["VAKBART"].ToString();
                    or1.Parameters.Add("VAKBFARBE", OracleType.NVarChar).Value = dwData["VAKBFARBE"].ToString();
                    or1.Parameters.Add("VAKBKUNDNR", OracleType.NVarChar).Value = dwData["VAKBKUNDNR"].ToString();
                    break;
                //VAFMANDANT VAFKOLL VAFART VAFFARBE VAFBEZ VAFFFARBE

            }
            
            Connect2Proxy(or1);
        }
        public DataSet QueryWWERT(DataRow dwData, int option = 1)
        {
            DataSet Return;
            DataSet Result = new DataSet();
            OracleCommand or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 0:
                    or1.CommandText = "SELECT * FROM WWERT WHERE  ROWNUM<2 ";
                    break;
              
                case 99:
                    or1.CommandText = "SELECT * FROM WWERT  WHERE ROWNUM<50";
                    break;
                default:
                    break;
            }
            Result = Connect2Proxy(or1);
            if (Result.Tables.Count > 0)
                Result.Tables[0].TableName = "WWERT";
            Return = Result;
            return Return;
        }
        public void DeleteWWERT(DataRow dwData, int option = 1)
        {

            OracleCommand or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    or1.CommandText = "DELETE FROM WWERT   WHERE  VAKBMANDANT=:VAKBMANDANT AND VAKBKOLL=:VAKBKOLL AND VAKBART =:VAKBART AND VAKBFARBE=:VAKBFARBE AND VAKBKUNDNR=:VAKBKUNDNR";
                     or1.Parameters.Add("VAKBMANDANT", OracleType.NVarChar).Value = dwData["VAKBMANDANT"].ToString();
                    or1.Parameters.Add("VAKBKOLL", OracleType.NVarChar).Value = dwData["VAKBKOLL"].ToString();
                    or1.Parameters.Add("VAKBART", OracleType.NVarChar).Value = dwData["VAKBART"].ToString();
                    or1.Parameters.Add("VAKBFARBE", OracleType.NVarChar).Value = dwData["VAKBFARBE"].ToString();
                    or1.Parameters.Add("VAKBKUNDNR", OracleType.NVarChar).Value = dwData["VAKBKUNDNR"].ToString();
                    break;
                default:
                    break;
            }
            Connect2Proxy(or1);
        } 
      
        public void UpdateWWERT(DataRow dwData, string ITXDBVERSION = "50.24", int option = 1)
        {
            OracleCommand or1;
            DataSet Result = new DataSet();
            or1 = OracleDB.CreateCommand();
            switch (option)
            {
                case 1:
                    #region====Command==== 
                    or1.CommandText = "UPDATE WWERT SET "
                    +"WWMANDANT= :WWMANDANT,"
                    +"WWPART= :WWPART,"
                    +"WWKUNDNR= :WWKUNDNR,"
                    +"WWWERK= :WWWERK,"
                    +"WWABT= :WWABT,"
                    +"WWWAKZ= :WWWAKZ,"
                    +"WWART= :WWART,"
                    +"WWDESSIN= :WWDESSIN,"
                    +"WWBESCHICH= :WWBESCHICH,"
                    +"WWVAR= :WWVAR,"
                    +"WWMEEH= :WWMEEH,"
                    +"WWMEGRP= :WWMEGRP,"
                    +"WWMEFKT= :WWMEFKT,"
                    +"WWWAEHRSL= :WWWAEHRSL,"
                    +"WWPRVH= :WWPRVH,"
                    +"WWPRAK= :WWPRAK,"
                    +"WWPRKU= :WWPRKU,"
                    +"WWZUART1= :WWZUART1,"
                    +"WWPRGRP1= :WWPRGRP1,"
                    +"WWZUABVH1= :WWZUABVH1,"
                    +"WWZUABAK1= :WWZUABAK1,"
                    +"WWZUABKU1= :WWZUABKU1,"
                    +"WWZUART2= :WWZUART2,"
                    +"WWPRGRP2= :WWPRGRP2,"
                    +"WWZUABVH2= :WWZUABVH2,"
                    +"WWZUABAK2= :WWZUABAK2,"
                    +"WWZUABKU2= :WWZUABKU2,"
                    +"WWZUART3= :WWZUART3,"
                    +"WWPRGRP3= :WWPRGRP3,"
                    +"WWZUABVH3= :WWZUABVH3,"
                    +"WWZUABAK3= :WWZUABAK3,"
                    +"WWZUABKU3= :WWZUABKU3,"
                    +"WWZUART4= :WWZUART4,"
                    +"WWPRGRP4= :WWPRGRP4,"
                    +"WWZUABVH4= :WWZUABVH4,"
                    +"WWZUABAK4= :WWZUABAK4,"
                    +"WWZUABKU4= :WWZUABKU4,"
                    +"WWZUART5= :WWZUART5,"
                    +"WWPRGRP5= :WWPRGRP5,"
                    +"WWZUABVH5= :WWZUABVH5,"
                    +"WWZUABAK5= :WWZUABAK5,"
                    +"WWZUABKU5= :WWZUABKU5,"
                    +"WWZUART6= :WWZUART6,"
                    +"WWPRGRP6= :WWPRGRP6,"
                    +"WWZUABVH6= :WWZUABVH6,"
                    +"WWZUABAK6= :WWZUABAK6,"
                    +"WWZUABKU6= :WWZUABKU6,"
                    +"WWZUART7= :WWZUART7,"
                    +"WWPRGRP7= :WWPRGRP7,"
                    +"WWZUABVH7= :WWZUABVH7,"
                    +"WWZUABAK7= :WWZUABAK7,"
                    +"WWZUABKU7= :WWZUABKU7,"
                    +"WWZUART8= :WWZUART8,"
                    +"WWPRGRP8= :WWPRGRP8,"
                    +"WWZUABVH8= :WWZUABVH8,"
                    +"WWZUABAK8= :WWZUABAK8,"
                    +"WWZUABKU8= :WWZUABKU8,"
                    +"WWZUART9= :WWZUART9,"
                    +"WWPRGRP9= :WWPRGRP9,"
                    +"WWZUABVH9= :WWZUABVH9,"
                    +"WWZUABAK9= :WWZUABAK9,"
                    +"WWZUABKU9= :WWZUABKU9,"
                    +"WWZUART10= :WWZUART10,"
                    +"WWPRGRP10= :WWPRGRP10,"
                    +"WWZUABVH10= :WWZUABVH10,"
                    +"WWZUABAK10= :WWZUABAK10,"
                    +"WWZUABKU10= :WWZUABKU10,"
                    +"WWZUART11= :WWZUART11,"
                    +"WWPRGRP11= :WWPRGRP11,"
                    +"WWZUABVH11= :WWZUABVH11,"
                    +"WWZUABAK11= :WWZUABAK11,"
                    +"WWZUABKU11= :WWZUABKU11,"
                    +"WWZUART12= :WWZUART12,"
                    +"WWPRGRP12= :WWPRGRP12,"
                    +"WWZUABVH12= :WWZUABVH12,"
                    +"WWZUABAK12= :WWZUABAK12,"
                    +"WWZUABKU12= :WWZUABKU12,"
                    +"WWZUART13= :WWZUART13,"
                    +"WWPRGRP13= :WWPRGRP13,"
                    +"WWZUABVH13= :WWZUABVH13,"
                    +"WWZUABAK13= :WWZUABAK13,"
                    +"WWZUABKU13= :WWZUABKU13,"
                    +"WWZUART14= :WWZUART14,"
                    +"WWPRGRP14= :WWPRGRP14,"
                    +"WWZUABVH14= :WWZUABVH14,"
                    +"WWZUABAK14= :WWZUABAK14,"
                    +"WWZUABKU14= :WWZUABKU14,"
                    +"WWZUART15= :WWZUART15,"
                    +"WWPRGRP15= :WWPRGRP15,"
                    +"WWZUABVH15= :WWZUABVH15,"
                    +"WWZUABAK15= :WWZUABAK15,"
                    +"WWZUABKU15= :WWZUABKU15,"
                    +"WWZUART16= :WWZUART16,"
                    +"WWPRGRP16= :WWPRGRP16,"
                    +"WWZUABVH16= :WWZUABVH16,"
                    +"WWZUABAK16= :WWZUABAK16,"
                    +"WWZUABKU16= :WWZUABKU16,"
                    +"WWZUART17= :WWZUART17,"
                    +"WWPRGRP17= :WWPRGRP17,"
                    +"WWZUABVH17= :WWZUABVH17,"
                    +"WWZUABAK17= :WWZUABAK17,"
                    +"WWZUABKU17= :WWZUABKU17,"
                    +"WWZUART18= :WWZUART18,"
                    +"WWPRGRP18= :WWPRGRP18,"
                    +"WWZUABVH18= :WWZUABVH18,"
                    +"WWZUABAK18= :WWZUABAK18,"
                    +"WWZUABKU18= :WWZUABKU18,"
                    +"WWZUART19= :WWZUART19,"
                    +"WWPRGRP19= :WWPRGRP19,"
                    +"WWZUABVH19= :WWZUABVH19,"
                    +"WWZUABAK19= :WWZUABAK19,"
                    +"WWZUABKU19= :WWZUABKU19,"
                    +"WWZUART20= :WWZUART20,"
                    +"WWPRGRP20= :WWPRGRP20,"
                    +"WWZUABVH20= :WWZUABVH20,"
                    +"WWZUABAK20= :WWZUABAK20,"
                    +"WWZUABKU20= :WWZUABKU20,"
                    +"WWZS1= :WWZS1,"
                    +"WWZSABVH1= :WWZSABVH1,"
                    +"WWZSABAK1= :WWZSABAK1,"
                    +"WWZSABKU1= :WWZSABKU1,"
                    +"WWZS2= :WWZS2,"
                    +"WWZSABVH2= :WWZSABVH2,"
                    +"WWZSABAK2= :WWZSABAK2,"
                    +"WWZSABKU2= :WWZSABKU2,"
                    +"WWZS3= :WWZS3,"
                    +"WWZSABVH3= :WWZSABVH3,"
                    +"WWZSABAK3= :WWZSABAK3,"
                    +"WWZSABKU3= :WWZSABKU3,"
                    +"WWZS4= :WWZS4,"
                    +"WWZSABVH4= :WWZSABVH4,"
                    +"WWZSABAK4= :WWZSABAK4,"
                    +"WWZSABKU4= :WWZSABKU4,"
                    +"WWZS5= :WWZS5,"
                    +"WWZSABVH5= :WWZSABVH5,"
                    +"WWZSABAK5= :WWZSABAK5,"
                    +"WWZSABKU5= :WWZSABKU5,"
                    +"WWZS6= :WWZS6,"
                    +"WWZSABVH6= :WWZSABVH6,"
                    +"WWZSABAK6= :WWZSABAK6,"
                    +"WWZSABKU6= :WWZSABKU6,"
                    +"WWZS7= :WWZS7,"
                    +"WWZSABVH7= :WWZSABVH7,"
                    +"WWZSABAK7= :WWZSABAK7,"
                    +"WWZSABKU7= :WWZSABKU7,"
                    +"WWZS8= :WWZS8,"
                    +"WWZSABVH8= :WWZSABVH8,"
                    +"WWZSABAK8= :WWZSABAK8,"
                    +"WWZSABKU8= :WWZSABKU8,"
                    +"WWZS9= :WWZS9,"
                    +"WWZSABVH9= :WWZSABVH9,"
                    +"WWZSABAK9= :WWZSABAK9,"
                    +"WWZSABKU9= :WWZSABKU9,"
                    +"WWZS10= :WWZS10,"
                    +"WWZSABVH10= :WWZSABVH10,"
                    +"WWZSABAK10= :WWZSABAK10,"
                    +"WWZSABKU10= :WWZSABKU10,"
                    +"WWZS11= :WWZS11,"
                    +"WWZSABVH11= :WWZSABVH11,"
                    +"WWZSABAK11= :WWZSABAK11,"
                    +"WWZSABKU11= :WWZSABKU11,"
                    +"WWZS12= :WWZS12,"
                    +"WWZSABVH12= :WWZSABVH12,"
                    +"WWZSABAK12= :WWZSABAK12,"
                    +"WWZSABKU12= :WWZSABKU12,"
                    +"WWABSCHRVH= :WWABSCHRVH,"
                    +"WWABSCHRAK= :WWABSCHRAK,"
                    +"WWABSCHRKU= :WWABSCHRKU,"
                    +"WWFRACHT= :WWFRACHT,"
                    +"WWFRMEEH= :WWFRMEEH,"
                    +"WWIMP= :WWIMP,"
                    +"WWVERS= :WWVERS,"
                    +"WWZOLL= :WWZOLL,"
                    +"WWFRGRENZ= :WWFRGRENZ,"
                    +"WWFRGRMEEH= :WWFRGRMEEH,"
                    +"WWVERSGRENZ= :WWVERSGRENZ,"
                    +"WWRABART1= :WWRABART1,"
                    +"WWRABWERT1= :WWRABWERT1,"
                    +"WWRABMEEH1= :WWRABMEEH1,"
                    +"WWRABKZ1= :WWRABKZ1,"
                    +"WWRABART2= :WWRABART2,"
                    +"WWRABWERT2= :WWRABWERT2,"
                    +"WWRABMEEH2= :WWRABMEEH2,"
                    +"WWRABKZ2= :WWRABKZ2,"
                    +"WWRABART3= :WWRABART3,"
                    +"WWRABWERT3= :WWRABWERT3,"
                    +"WWRABMEEH3= :WWRABMEEH3,"
                    +"WWRABKZ3= :WWRABKZ3,"
                    +"WWRABART4= :WWRABART4,"
                    +"WWRABWERT4= :WWRABWERT4,"
                    +"WWRABMEEH4= :WWRABMEEH4,"
                    +"WWRABKZ4= :WWRABKZ4,"
                    +"WWRABART5= :WWRABART5,"
                    +"WWRABWERT5= :WWRABWERT5,"
                    +"WWRABMEEH5= :WWRABMEEH5,"
                    +"WWRABKZ5= :WWRABKZ5,"
                    +"WWZUABART1= :WWZUABART1,"
                    +"WWZUABWERT1= :WWZUABWERT1,"
                    +"WWZUABMEEH1= :WWZUABMEEH1,"
                    +"WWZUABKZ1= :WWZUABKZ1,"
                    +"WWZUABART2= :WWZUABART2,"
                    +"WWZUABWERT2= :WWZUABWERT2,"
                    +"WWZUABMEEH2= :WWZUABMEEH2,"
                    +"WWZUABKZ2= :WWZUABKZ2,"
                    +"WWZUABART3= :WWZUABART3,"
                    +"WWZUABWERT3= :WWZUABWERT3,"
                    +"WWZUABMEEH3= :WWZUABMEEH3,"
                    +"WWZUABKZ3= :WWZUABKZ3,"
                    +"WWZUABART4= :WWZUABART4,"
                    +"WWZUABWERT4= :WWZUABWERT4,"
                    +"WWZUABMEEH4= :WWZUABMEEH4,"
                    +"WWZUABKZ4= :WWZUABKZ4,"
                    +"WWZUABART5= :WWZUABART5,"
                    +"WWZUABWERT5= :WWZUABWERT5,"
                    +"WWZUABMEEH5= :WWZUABMEEH5,"
                    +"WWZUABKZ5= :WWZUABKZ5,"
                    +"WWVTYP1= :WWVTYP1,"
                    +"WWVERPART1= :WWVERPART1,"
                    +"WWVERPWERT1= :WWVERPWERT1,"
                    +"WWVERPFILLER1= :WWVERPFILLER1,"
                    +"WWVTYP2= :WWVTYP2,"
                    +"WWVERPART2= :WWVERPART2,"
                    +"WWVERPWERT2= :WWVERPWERT2,"
                    +"WWVERPFILLER2= :WWVERPFILLER2,"
                    +"WWVTYP3= :WWVTYP3,"
                    +"WWVERPART3= :WWVERPART3,"
                    +"WWVERPWERT3= :WWVERPWERT3,"
                    +"WWVERPFILLER3= :WWVERPFILLER3,"
                    +"WWVTYP4= :WWVTYP4,"
                    +"WWVERPART4= :WWVERPART4,"
                    +"WWVERPWERT4= :WWVERPWERT4,"
                    +"WWVERPFILLER4= :WWVERPFILLER4,"
                    +"WWVTYP5= :WWVTYP5,"
                    +"WWVERPART5= :WWVERPART5,"
                    +"WWVERPWERT5= :WWVERPWERT5,"
                    +"WWVERPFILLER5= :WWVERPFILLER5,"
                    +"WWVTYP6= :WWVTYP6,"
                    +"WWVERPART6= :WWVERPART6,"
                    +"WWVERPWERT6= :WWVERPWERT6,"
                    +"WWVERPFILLER6= :WWVERPFILLER6,"
                    +"WWVTYP7= :WWVTYP7,"
                    +"WWVERPART7= :WWVERPART7,"
                    +"WWVERPWERT7= :WWVERPWERT7,"
                    +"WWVERPFILLER7= :WWVERPFILLER7,"
                    +"WWVTYP8= :WWVTYP8,"
                    +"WWVERPART8= :WWVERPART8,"
                    +"WWVERPWERT8= :WWVERPWERT8,"
                    +"WWVERPFILLER8= :WWVERPFILLER8,"
                    +"WWVTYP9= :WWVTYP9,"
                    +"WWVERPART9= :WWVERPART9,"
                    +"WWVERPWERT9= :WWVERPWERT9,"
                    +"WWVERPFILLER9= :WWVERPFILLER9,"
                    +"WWVTYP10= :WWVTYP10,"
                    +"WWVERPART10= :WWVERPART10,"
                    +"WWVERPWERT10= :WWVERPWERT10,"
                    +"WWVERPFILLER10= :WWVERPFILLER10,"
                    +"WWVTYP11= :WWVTYP11,"
                    +"WWVERPART11= :WWVERPART11,"
                    +"WWVERPWERT11= :WWVERPWERT11,"
                    +"WWVERPFILLER11= :WWVERPFILLER11,"
                    +"WWVTYP12= :WWVTYP12,"
                    +"WWVERPART12= :WWVERPART12,"
                    +"WWVERPWERT12= :WWVERPWERT12,"
                    +"WWVERPFILLER12= :WWVERPFILLER12,"
                    +"WWSTMENGE1= :WWSTMENGE1,"
                    +"WWSTABBIS1= :WWSTABBIS1,"
                    +"WWSTVH1= :WWSTVH1,"
                    +"WWSTAK1= :WWSTAK1,"
                    +"WWSTKU1= :WWSTKU1,"
                    +"WWSTMENGE2= :WWSTMENGE2,"
                    +"WWSTABBIS2= :WWSTABBIS2,"
                    +"WWSTVH2= :WWSTVH2,"
                    +"WWSTAK2= :WWSTAK2,"
                    +"WWSTKU2= :WWSTKU2,"
                    +"WWSTMENGE3= :WWSTMENGE3,"
                    +"WWSTABBIS3= :WWSTABBIS3,"
                    +"WWSTVH3= :WWSTVH3,"
                    +"WWSTAK3= :WWSTAK3,"
                    +"WWSTKU3= :WWSTKU3,"
                    +"WWSTMENGE4= :WWSTMENGE4,"
                    +"WWSTABBIS4= :WWSTABBIS4,"
                    +"WWSTVH4= :WWSTVH4,"
                    +"WWSTAK4= :WWSTAK4,"
                    +"WWSTKU4= :WWSTKU4,"
                    +"WWSTMENGE5= :WWSTMENGE5,"
                    +"WWSTABBIS5= :WWSTABBIS5,"
                    +"WWSTVH5= :WWSTVH5,"
                    +"WWSTAK5= :WWSTAK5,"
                    +"WWSTKU5= :WWSTKU5,"
                    +"WWAENDZL= :WWAENDZL,"
                    +"WWAENDBEN= :WWAENDBEN,"
                    +"WWAENDDAT= :WWAENDDAT,"
                    +"WWNEUBEN= :WWNEUBEN,"
                    +"WWNEUDAT= :WWNEUDAT,"
                    +"WWFILLER= :WWFILLER,"
                        + " WHERE  "
                        + "  VAKBMANDANT=:VAKBMANDANT AND VAKBKOLL=:VAKBKOLL AND VAKBART =:VAKBART AND VAKBFARBE=:VAKBFARBE AND VAKBKUNDNR=:VAKBKUNDNR";
                    #endregion

                    #region====Parameters====
          or1.Parameters.Add("WWMANDANT", OracleType.NVarChar).Value = dwData["WWMANDANT"].ToString(); 
          or1.Parameters.Add("WWPART", OracleType.NVarChar).Value = dwData["WWPART"].ToString(); 
          or1.Parameters.Add("WWKUNDNR", OracleType.NVarChar).Value = dwData["WWKUNDNR"].ToString(); 
          or1.Parameters.Add("WWWERK", OracleType.NVarChar).Value = dwData["WWWERK"].ToString(); 
          or1.Parameters.Add("WWABT", OracleType.NVarChar).Value = dwData["WWABT"].ToString(); 
          or1.Parameters.Add("WWWAKZ", OracleType.NVarChar).Value = dwData["WWWAKZ"].ToString(); 
          or1.Parameters.Add("WWART", OracleType.NVarChar).Value = dwData["WWART"].ToString(); 
          or1.Parameters.Add("WWDESSIN", OracleType.NVarChar).Value = dwData["WWDESSIN"].ToString(); 
          or1.Parameters.Add("WWBESCHICH", OracleType.NVarChar).Value = dwData["WWBESCHICH"].ToString(); 
          or1.Parameters.Add("WWVAR", OracleType.NVarChar).Value = dwData["WWVAR"].ToString(); 
          or1.Parameters.Add("WWMEEH", OracleType.NVarChar).Value = dwData["WWMEEH"].ToString(); 
          or1.Parameters.Add("WWMEGRP", OracleType.NVarChar).Value = dwData["WWMEGRP"].ToString(); 
          or1.Parameters.Add("WWMEFKT", OracleType.NVarChar).Value = dwData["WWMEFKT"].ToString(); 
          or1.Parameters.Add("WWWAEHRSL", OracleType.NVarChar).Value = dwData["WWWAEHRSL"].ToString(); 
          or1.Parameters.Add("WWPRVH", OracleType.NVarChar).Value = dwData["WWPRVH"].ToString(); 
          or1.Parameters.Add("WWPRAK", OracleType.NVarChar).Value = dwData["WWPRAK"].ToString(); 
          or1.Parameters.Add("WWPRKU", OracleType.NVarChar).Value = dwData["WWPRKU"].ToString(); 
          or1.Parameters.Add("WWZUART1", OracleType.NVarChar).Value = dwData["WWZUART1"].ToString(); 
          or1.Parameters.Add("WWPRGRP1", OracleType.NVarChar).Value = dwData["WWPRGRP1"].ToString(); 
          or1.Parameters.Add("WWZUABVH1", OracleType.NVarChar).Value = dwData["WWZUABVH1"].ToString(); 
          or1.Parameters.Add("WWZUABAK1", OracleType.NVarChar).Value = dwData["WWZUABAK1"].ToString(); 
          or1.Parameters.Add("WWZUABKU1", OracleType.NVarChar).Value = dwData["WWZUABKU1"].ToString(); 
          or1.Parameters.Add("WWZUART2", OracleType.NVarChar).Value = dwData["WWZUART2"].ToString(); 
          or1.Parameters.Add("WWPRGRP2", OracleType.NVarChar).Value = dwData["WWPRGRP2"].ToString(); 
          or1.Parameters.Add("WWZUABVH2", OracleType.NVarChar).Value = dwData["WWZUABVH2"].ToString(); 
          or1.Parameters.Add("WWZUABAK2", OracleType.NVarChar).Value = dwData["WWZUABAK2"].ToString(); 
          or1.Parameters.Add("WWZUABKU2", OracleType.NVarChar).Value = dwData["WWZUABKU2"].ToString(); 
          or1.Parameters.Add("WWZUART3", OracleType.NVarChar).Value = dwData["WWZUART3"].ToString(); 
          or1.Parameters.Add("WWPRGRP3", OracleType.NVarChar).Value = dwData["WWPRGRP3"].ToString(); 
          or1.Parameters.Add("WWZUABVH3", OracleType.NVarChar).Value = dwData["WWZUABVH3"].ToString(); 
          or1.Parameters.Add("WWZUABAK3", OracleType.NVarChar).Value = dwData["WWZUABAK3"].ToString(); 
          or1.Parameters.Add("WWZUABKU3", OracleType.NVarChar).Value = dwData["WWZUABKU3"].ToString(); 
          or1.Parameters.Add("WWZUART4", OracleType.NVarChar).Value = dwData["WWZUART4"].ToString(); 
          or1.Parameters.Add("WWPRGRP4", OracleType.NVarChar).Value = dwData["WWPRGRP4"].ToString(); 
          or1.Parameters.Add("WWZUABVH4", OracleType.NVarChar).Value = dwData["WWZUABVH4"].ToString(); 
          or1.Parameters.Add("WWZUABAK4", OracleType.NVarChar).Value = dwData["WWZUABAK4"].ToString(); 
          or1.Parameters.Add("WWZUABKU4", OracleType.NVarChar).Value = dwData["WWZUABKU4"].ToString(); 
          or1.Parameters.Add("WWZUART5", OracleType.NVarChar).Value = dwData["WWZUART5"].ToString(); 
          or1.Parameters.Add("WWPRGRP5", OracleType.NVarChar).Value = dwData["WWPRGRP5"].ToString(); 
          or1.Parameters.Add("WWZUABVH5", OracleType.NVarChar).Value = dwData["WWZUABVH5"].ToString(); 
          or1.Parameters.Add("WWZUABAK5", OracleType.NVarChar).Value = dwData["WWZUABAK5"].ToString(); 
          or1.Parameters.Add("WWZUABKU5", OracleType.NVarChar).Value = dwData["WWZUABKU5"].ToString(); 
          or1.Parameters.Add("WWZUART6", OracleType.NVarChar).Value = dwData["WWZUART6"].ToString(); 
          or1.Parameters.Add("WWPRGRP6", OracleType.NVarChar).Value = dwData["WWPRGRP6"].ToString(); 
          or1.Parameters.Add("WWZUABVH6", OracleType.NVarChar).Value = dwData["WWZUABVH6"].ToString(); 
          or1.Parameters.Add("WWZUABAK6", OracleType.NVarChar).Value = dwData["WWZUABAK6"].ToString(); 
          or1.Parameters.Add("WWZUABKU6", OracleType.NVarChar).Value = dwData["WWZUABKU6"].ToString(); 
          or1.Parameters.Add("WWZUART7", OracleType.NVarChar).Value = dwData["WWZUART7"].ToString(); 
          or1.Parameters.Add("WWPRGRP7", OracleType.NVarChar).Value = dwData["WWPRGRP7"].ToString(); 
          or1.Parameters.Add("WWZUABVH7", OracleType.NVarChar).Value = dwData["WWZUABVH7"].ToString(); 
          or1.Parameters.Add("WWZUABAK7", OracleType.NVarChar).Value = dwData["WWZUABAK7"].ToString(); 
          or1.Parameters.Add("WWZUABKU7", OracleType.NVarChar).Value = dwData["WWZUABKU7"].ToString(); 
          or1.Parameters.Add("WWZUART8", OracleType.NVarChar).Value = dwData["WWZUART8"].ToString(); 
          or1.Parameters.Add("WWPRGRP8", OracleType.NVarChar).Value = dwData["WWPRGRP8"].ToString(); 
          or1.Parameters.Add("WWZUABVH8", OracleType.NVarChar).Value = dwData["WWZUABVH8"].ToString(); 
          or1.Parameters.Add("WWZUABAK8", OracleType.NVarChar).Value = dwData["WWZUABAK8"].ToString(); 
          or1.Parameters.Add("WWZUABKU8", OracleType.NVarChar).Value = dwData["WWZUABKU8"].ToString(); 
          or1.Parameters.Add("WWZUART9", OracleType.NVarChar).Value = dwData["WWZUART9"].ToString(); 
          or1.Parameters.Add("WWPRGRP9", OracleType.NVarChar).Value = dwData["WWPRGRP9"].ToString(); 
          or1.Parameters.Add("WWZUABVH9", OracleType.NVarChar).Value = dwData["WWZUABVH9"].ToString(); 
          or1.Parameters.Add("WWZUABAK9", OracleType.NVarChar).Value = dwData["WWZUABAK9"].ToString(); 
          or1.Parameters.Add("WWZUABKU9", OracleType.NVarChar).Value = dwData["WWZUABKU9"].ToString(); 
          or1.Parameters.Add("WWZUART10", OracleType.NVarChar).Value = dwData["WWZUART10"].ToString(); 
          or1.Parameters.Add("WWPRGRP10", OracleType.NVarChar).Value = dwData["WWPRGRP10"].ToString(); 
          or1.Parameters.Add("WWZUABVH10", OracleType.NVarChar).Value = dwData["WWZUABVH10"].ToString(); 
          or1.Parameters.Add("WWZUABAK10", OracleType.NVarChar).Value = dwData["WWZUABAK10"].ToString(); 
          or1.Parameters.Add("WWZUABKU10", OracleType.NVarChar).Value = dwData["WWZUABKU10"].ToString(); 
          or1.Parameters.Add("WWZUART11", OracleType.NVarChar).Value = dwData["WWZUART11"].ToString(); 
          or1.Parameters.Add("WWPRGRP11", OracleType.NVarChar).Value = dwData["WWPRGRP11"].ToString(); 
          or1.Parameters.Add("WWZUABVH11", OracleType.NVarChar).Value = dwData["WWZUABVH11"].ToString(); 
          or1.Parameters.Add("WWZUABAK11", OracleType.NVarChar).Value = dwData["WWZUABAK11"].ToString(); 
          or1.Parameters.Add("WWZUABKU11", OracleType.NVarChar).Value = dwData["WWZUABKU11"].ToString(); 
          or1.Parameters.Add("WWZUART12", OracleType.NVarChar).Value = dwData["WWZUART12"].ToString(); 
          or1.Parameters.Add("WWPRGRP12", OracleType.NVarChar).Value = dwData["WWPRGRP12"].ToString(); 
          or1.Parameters.Add("WWZUABVH12", OracleType.NVarChar).Value = dwData["WWZUABVH12"].ToString(); 
          or1.Parameters.Add("WWZUABAK12", OracleType.NVarChar).Value = dwData["WWZUABAK12"].ToString(); 
          or1.Parameters.Add("WWZUABKU12", OracleType.NVarChar).Value = dwData["WWZUABKU12"].ToString(); 
          or1.Parameters.Add("WWZUART13", OracleType.NVarChar).Value = dwData["WWZUART13"].ToString(); 
          or1.Parameters.Add("WWPRGRP13", OracleType.NVarChar).Value = dwData["WWPRGRP13"].ToString(); 
          or1.Parameters.Add("WWZUABVH13", OracleType.NVarChar).Value = dwData["WWZUABVH13"].ToString(); 
          or1.Parameters.Add("WWZUABAK13", OracleType.NVarChar).Value = dwData["WWZUABAK13"].ToString(); 
          or1.Parameters.Add("WWZUABKU13", OracleType.NVarChar).Value = dwData["WWZUABKU13"].ToString(); 
          or1.Parameters.Add("WWZUART14", OracleType.NVarChar).Value = dwData["WWZUART14"].ToString(); 
          or1.Parameters.Add("WWPRGRP14", OracleType.NVarChar).Value = dwData["WWPRGRP14"].ToString(); 
          or1.Parameters.Add("WWZUABVH14", OracleType.NVarChar).Value = dwData["WWZUABVH14"].ToString(); 
          or1.Parameters.Add("WWZUABAK14", OracleType.NVarChar).Value = dwData["WWZUABAK14"].ToString(); 
          or1.Parameters.Add("WWZUABKU14", OracleType.NVarChar).Value = dwData["WWZUABKU14"].ToString(); 
          or1.Parameters.Add("WWZUART15", OracleType.NVarChar).Value = dwData["WWZUART15"].ToString(); 
          or1.Parameters.Add("WWPRGRP15", OracleType.NVarChar).Value = dwData["WWPRGRP15"].ToString(); 
          or1.Parameters.Add("WWZUABVH15", OracleType.NVarChar).Value = dwData["WWZUABVH15"].ToString(); 
          or1.Parameters.Add("WWZUABAK15", OracleType.NVarChar).Value = dwData["WWZUABAK15"].ToString(); 
          or1.Parameters.Add("WWZUABKU15", OracleType.NVarChar).Value = dwData["WWZUABKU15"].ToString(); 
          or1.Parameters.Add("WWZUART16", OracleType.NVarChar).Value = dwData["WWZUART16"].ToString(); 
          or1.Parameters.Add("WWPRGRP16", OracleType.NVarChar).Value = dwData["WWPRGRP16"].ToString(); 
          or1.Parameters.Add("WWZUABVH16", OracleType.NVarChar).Value = dwData["WWZUABVH16"].ToString(); 
          or1.Parameters.Add("WWZUABAK16", OracleType.NVarChar).Value = dwData["WWZUABAK16"].ToString(); 
          or1.Parameters.Add("WWZUABKU16", OracleType.NVarChar).Value = dwData["WWZUABKU16"].ToString(); 
          or1.Parameters.Add("WWZUART17", OracleType.NVarChar).Value = dwData["WWZUART17"].ToString(); 
          or1.Parameters.Add("WWPRGRP17", OracleType.NVarChar).Value = dwData["WWPRGRP17"].ToString(); 
          or1.Parameters.Add("WWZUABVH17", OracleType.NVarChar).Value = dwData["WWZUABVH17"].ToString(); 
          or1.Parameters.Add("WWZUABAK17", OracleType.NVarChar).Value = dwData["WWZUABAK17"].ToString(); 
          or1.Parameters.Add("WWZUABKU17", OracleType.NVarChar).Value = dwData["WWZUABKU17"].ToString(); 
          or1.Parameters.Add("WWZUART18", OracleType.NVarChar).Value = dwData["WWZUART18"].ToString(); 
          or1.Parameters.Add("WWPRGRP18", OracleType.NVarChar).Value = dwData["WWPRGRP18"].ToString(); 
          or1.Parameters.Add("WWZUABVH18", OracleType.NVarChar).Value = dwData["WWZUABVH18"].ToString(); 
          or1.Parameters.Add("WWZUABAK18", OracleType.NVarChar).Value = dwData["WWZUABAK18"].ToString(); 
          or1.Parameters.Add("WWZUABKU18", OracleType.NVarChar).Value = dwData["WWZUABKU18"].ToString(); 
          or1.Parameters.Add("WWZUART19", OracleType.NVarChar).Value = dwData["WWZUART19"].ToString(); 
          or1.Parameters.Add("WWPRGRP19", OracleType.NVarChar).Value = dwData["WWPRGRP19"].ToString(); 
          or1.Parameters.Add("WWZUABVH19", OracleType.NVarChar).Value = dwData["WWZUABVH19"].ToString(); 
          or1.Parameters.Add("WWZUABAK19", OracleType.NVarChar).Value = dwData["WWZUABAK19"].ToString(); 
          or1.Parameters.Add("WWZUABKU19", OracleType.NVarChar).Value = dwData["WWZUABKU19"].ToString(); 
          or1.Parameters.Add("WWZUART20", OracleType.NVarChar).Value = dwData["WWZUART20"].ToString(); 
          or1.Parameters.Add("WWPRGRP20", OracleType.NVarChar).Value = dwData["WWPRGRP20"].ToString(); 
          or1.Parameters.Add("WWZUABVH20", OracleType.NVarChar).Value = dwData["WWZUABVH20"].ToString(); 
          or1.Parameters.Add("WWZUABAK20", OracleType.NVarChar).Value = dwData["WWZUABAK20"].ToString(); 
          or1.Parameters.Add("WWZUABKU20", OracleType.NVarChar).Value = dwData["WWZUABKU20"].ToString(); 
          or1.Parameters.Add("WWZS1", OracleType.NVarChar).Value = dwData["WWZS1"].ToString(); 
          or1.Parameters.Add("WWZSABVH1", OracleType.NVarChar).Value = dwData["WWZSABVH1"].ToString(); 
          or1.Parameters.Add("WWZSABAK1", OracleType.NVarChar).Value = dwData["WWZSABAK1"].ToString(); 
          or1.Parameters.Add("WWZSABKU1", OracleType.NVarChar).Value = dwData["WWZSABKU1"].ToString(); 
          or1.Parameters.Add("WWZS2", OracleType.NVarChar).Value = dwData["WWZS2"].ToString(); 
          or1.Parameters.Add("WWZSABVH2", OracleType.NVarChar).Value = dwData["WWZSABVH2"].ToString(); 
          or1.Parameters.Add("WWZSABAK2", OracleType.NVarChar).Value = dwData["WWZSABAK2"].ToString(); 
          or1.Parameters.Add("WWZSABKU2", OracleType.NVarChar).Value = dwData["WWZSABKU2"].ToString(); 
          or1.Parameters.Add("WWZS3", OracleType.NVarChar).Value = dwData["WWZS3"].ToString(); 
          or1.Parameters.Add("WWZSABVH3", OracleType.NVarChar).Value = dwData["WWZSABVH3"].ToString(); 
          or1.Parameters.Add("WWZSABAK3", OracleType.NVarChar).Value = dwData["WWZSABAK3"].ToString(); 
          or1.Parameters.Add("WWZSABKU3", OracleType.NVarChar).Value = dwData["WWZSABKU3"].ToString(); 
          or1.Parameters.Add("WWZS4", OracleType.NVarChar).Value = dwData["WWZS4"].ToString(); 
          or1.Parameters.Add("WWZSABVH4", OracleType.NVarChar).Value = dwData["WWZSABVH4"].ToString(); 
          or1.Parameters.Add("WWZSABAK4", OracleType.NVarChar).Value = dwData["WWZSABAK4"].ToString(); 
          or1.Parameters.Add("WWZSABKU4", OracleType.NVarChar).Value = dwData["WWZSABKU4"].ToString(); 
          or1.Parameters.Add("WWZS5", OracleType.NVarChar).Value = dwData["WWZS5"].ToString(); 
          or1.Parameters.Add("WWZSABVH5", OracleType.NVarChar).Value = dwData["WWZSABVH5"].ToString(); 
          or1.Parameters.Add("WWZSABAK5", OracleType.NVarChar).Value = dwData["WWZSABAK5"].ToString(); 
          or1.Parameters.Add("WWZSABKU5", OracleType.NVarChar).Value = dwData["WWZSABKU5"].ToString(); 
          or1.Parameters.Add("WWZS6", OracleType.NVarChar).Value = dwData["WWZS6"].ToString(); 
          or1.Parameters.Add("WWZSABVH6", OracleType.NVarChar).Value = dwData["WWZSABVH6"].ToString(); 
          or1.Parameters.Add("WWZSABAK6", OracleType.NVarChar).Value = dwData["WWZSABAK6"].ToString(); 
          or1.Parameters.Add("WWZSABKU6", OracleType.NVarChar).Value = dwData["WWZSABKU6"].ToString(); 
          or1.Parameters.Add("WWZS7", OracleType.NVarChar).Value = dwData["WWZS7"].ToString(); 
          or1.Parameters.Add("WWZSABVH7", OracleType.NVarChar).Value = dwData["WWZSABVH7"].ToString(); 
          or1.Parameters.Add("WWZSABAK7", OracleType.NVarChar).Value = dwData["WWZSABAK7"].ToString(); 
          or1.Parameters.Add("WWZSABKU7", OracleType.NVarChar).Value = dwData["WWZSABKU7"].ToString(); 
          or1.Parameters.Add("WWZS8", OracleType.NVarChar).Value = dwData["WWZS8"].ToString(); 
          or1.Parameters.Add("WWZSABVH8", OracleType.NVarChar).Value = dwData["WWZSABVH8"].ToString(); 
          or1.Parameters.Add("WWZSABAK8", OracleType.NVarChar).Value = dwData["WWZSABAK8"].ToString(); 
          or1.Parameters.Add("WWZSABKU8", OracleType.NVarChar).Value = dwData["WWZSABKU8"].ToString(); 
          or1.Parameters.Add("WWZS9", OracleType.NVarChar).Value = dwData["WWZS9"].ToString(); 
          or1.Parameters.Add("WWZSABVH9", OracleType.NVarChar).Value = dwData["WWZSABVH9"].ToString(); 
          or1.Parameters.Add("WWZSABAK9", OracleType.NVarChar).Value = dwData["WWZSABAK9"].ToString(); 
          or1.Parameters.Add("WWZSABKU9", OracleType.NVarChar).Value = dwData["WWZSABKU9"].ToString(); 
          or1.Parameters.Add("WWZS10", OracleType.NVarChar).Value = dwData["WWZS10"].ToString(); 
          or1.Parameters.Add("WWZSABVH10", OracleType.NVarChar).Value = dwData["WWZSABVH10"].ToString(); 
          or1.Parameters.Add("WWZSABAK10", OracleType.NVarChar).Value = dwData["WWZSABAK10"].ToString(); 
          or1.Parameters.Add("WWZSABKU10", OracleType.NVarChar).Value = dwData["WWZSABKU10"].ToString(); 
          or1.Parameters.Add("WWZS11", OracleType.NVarChar).Value = dwData["WWZS11"].ToString(); 
          or1.Parameters.Add("WWZSABVH11", OracleType.NVarChar).Value = dwData["WWZSABVH11"].ToString(); 
          or1.Parameters.Add("WWZSABAK11", OracleType.NVarChar).Value = dwData["WWZSABAK11"].ToString(); 
          or1.Parameters.Add("WWZSABKU11", OracleType.NVarChar).Value = dwData["WWZSABKU11"].ToString(); 
          or1.Parameters.Add("WWZS12", OracleType.NVarChar).Value = dwData["WWZS12"].ToString(); 
          or1.Parameters.Add("WWZSABVH12", OracleType.NVarChar).Value = dwData["WWZSABVH12"].ToString(); 
          or1.Parameters.Add("WWZSABAK12", OracleType.NVarChar).Value = dwData["WWZSABAK12"].ToString(); 
          or1.Parameters.Add("WWZSABKU12", OracleType.NVarChar).Value = dwData["WWZSABKU12"].ToString(); 
          or1.Parameters.Add("WWABSCHRVH", OracleType.NVarChar).Value = dwData["WWABSCHRVH"].ToString(); 
          or1.Parameters.Add("WWABSCHRAK", OracleType.NVarChar).Value = dwData["WWABSCHRAK"].ToString(); 
          or1.Parameters.Add("WWABSCHRKU", OracleType.NVarChar).Value = dwData["WWABSCHRKU"].ToString(); 
          or1.Parameters.Add("WWFRACHT", OracleType.NVarChar).Value = dwData["WWFRACHT"].ToString(); 
          or1.Parameters.Add("WWFRMEEH", OracleType.NVarChar).Value = dwData["WWFRMEEH"].ToString(); 
          or1.Parameters.Add("WWIMP", OracleType.NVarChar).Value = dwData["WWIMP"].ToString(); 
          or1.Parameters.Add("WWVERS", OracleType.NVarChar).Value = dwData["WWVERS"].ToString(); 
          or1.Parameters.Add("WWZOLL", OracleType.NVarChar).Value = dwData["WWZOLL"].ToString(); 
          or1.Parameters.Add("WWFRGRENZ", OracleType.NVarChar).Value = dwData["WWFRGRENZ"].ToString(); 
          or1.Parameters.Add("WWFRGRMEEH", OracleType.NVarChar).Value = dwData["WWFRGRMEEH"].ToString(); 
          or1.Parameters.Add("WWVERSGRENZ", OracleType.NVarChar).Value = dwData["WWVERSGRENZ"].ToString(); 
          or1.Parameters.Add("WWRABART1", OracleType.NVarChar).Value = dwData["WWRABART1"].ToString(); 
          or1.Parameters.Add("WWRABWERT1", OracleType.NVarChar).Value = dwData["WWRABWERT1"].ToString(); 
          or1.Parameters.Add("WWRABMEEH1", OracleType.NVarChar).Value = dwData["WWRABMEEH1"].ToString(); 
          or1.Parameters.Add("WWRABKZ1", OracleType.NVarChar).Value = dwData["WWRABKZ1"].ToString(); 
          or1.Parameters.Add("WWRABART2", OracleType.NVarChar).Value = dwData["WWRABART2"].ToString(); 
          or1.Parameters.Add("WWRABWERT2", OracleType.NVarChar).Value = dwData["WWRABWERT2"].ToString(); 
          or1.Parameters.Add("WWRABMEEH2", OracleType.NVarChar).Value = dwData["WWRABMEEH2"].ToString(); 
          or1.Parameters.Add("WWRABKZ2", OracleType.NVarChar).Value = dwData["WWRABKZ2"].ToString(); 
          or1.Parameters.Add("WWRABART3", OracleType.NVarChar).Value = dwData["WWRABART3"].ToString(); 
          or1.Parameters.Add("WWRABWERT3", OracleType.NVarChar).Value = dwData["WWRABWERT3"].ToString(); 
          or1.Parameters.Add("WWRABMEEH3", OracleType.NVarChar).Value = dwData["WWRABMEEH3"].ToString(); 
          or1.Parameters.Add("WWRABKZ3", OracleType.NVarChar).Value = dwData["WWRABKZ3"].ToString(); 
          or1.Parameters.Add("WWRABART4", OracleType.NVarChar).Value = dwData["WWRABART4"].ToString(); 
          or1.Parameters.Add("WWRABWERT4", OracleType.NVarChar).Value = dwData["WWRABWERT4"].ToString(); 
          or1.Parameters.Add("WWRABMEEH4", OracleType.NVarChar).Value = dwData["WWRABMEEH4"].ToString(); 
          or1.Parameters.Add("WWRABKZ4", OracleType.NVarChar).Value = dwData["WWRABKZ4"].ToString(); 
          or1.Parameters.Add("WWRABART5", OracleType.NVarChar).Value = dwData["WWRABART5"].ToString(); 
          or1.Parameters.Add("WWRABWERT5", OracleType.NVarChar).Value = dwData["WWRABWERT5"].ToString(); 
          or1.Parameters.Add("WWRABMEEH5", OracleType.NVarChar).Value = dwData["WWRABMEEH5"].ToString(); 
          or1.Parameters.Add("WWRABKZ5", OracleType.NVarChar).Value = dwData["WWRABKZ5"].ToString(); 
          or1.Parameters.Add("WWZUABART1", OracleType.NVarChar).Value = dwData["WWZUABART1"].ToString(); 
          or1.Parameters.Add("WWZUABWERT1", OracleType.NVarChar).Value = dwData["WWZUABWERT1"].ToString(); 
          or1.Parameters.Add("WWZUABMEEH1", OracleType.NVarChar).Value = dwData["WWZUABMEEH1"].ToString(); 
          or1.Parameters.Add("WWZUABKZ1", OracleType.NVarChar).Value = dwData["WWZUABKZ1"].ToString(); 
          or1.Parameters.Add("WWZUABART2", OracleType.NVarChar).Value = dwData["WWZUABART2"].ToString(); 
          or1.Parameters.Add("WWZUABWERT2", OracleType.NVarChar).Value = dwData["WWZUABWERT2"].ToString(); 
          or1.Parameters.Add("WWZUABMEEH2", OracleType.NVarChar).Value = dwData["WWZUABMEEH2"].ToString(); 
          or1.Parameters.Add("WWZUABKZ2", OracleType.NVarChar).Value = dwData["WWZUABKZ2"].ToString(); 
          or1.Parameters.Add("WWZUABART3", OracleType.NVarChar).Value = dwData["WWZUABART3"].ToString(); 
          or1.Parameters.Add("WWZUABWERT3", OracleType.NVarChar).Value = dwData["WWZUABWERT3"].ToString(); 
          or1.Parameters.Add("WWZUABMEEH3", OracleType.NVarChar).Value = dwData["WWZUABMEEH3"].ToString(); 
          or1.Parameters.Add("WWZUABKZ3", OracleType.NVarChar).Value = dwData["WWZUABKZ3"].ToString(); 
          or1.Parameters.Add("WWZUABART4", OracleType.NVarChar).Value = dwData["WWZUABART4"].ToString(); 
          or1.Parameters.Add("WWZUABWERT4", OracleType.NVarChar).Value = dwData["WWZUABWERT4"].ToString(); 
          or1.Parameters.Add("WWZUABMEEH4", OracleType.NVarChar).Value = dwData["WWZUABMEEH4"].ToString(); 
          or1.Parameters.Add("WWZUABKZ4", OracleType.NVarChar).Value = dwData["WWZUABKZ4"].ToString(); 
          or1.Parameters.Add("WWZUABART5", OracleType.NVarChar).Value = dwData["WWZUABART5"].ToString(); 
          or1.Parameters.Add("WWZUABWERT5", OracleType.NVarChar).Value = dwData["WWZUABWERT5"].ToString(); 
          or1.Parameters.Add("WWZUABMEEH5", OracleType.NVarChar).Value = dwData["WWZUABMEEH5"].ToString(); 
          or1.Parameters.Add("WWZUABKZ5", OracleType.NVarChar).Value = dwData["WWZUABKZ5"].ToString(); 
          or1.Parameters.Add("WWVTYP1", OracleType.NVarChar).Value = dwData["WWVTYP1"].ToString(); 
          or1.Parameters.Add("WWVERPART1", OracleType.NVarChar).Value = dwData["WWVERPART1"].ToString(); 
          or1.Parameters.Add("WWVERPWERT1", OracleType.NVarChar).Value = dwData["WWVERPWERT1"].ToString(); 
          or1.Parameters.Add("WWVERPFILLER1", OracleType.NVarChar).Value = dwData["WWVERPFILLER1"].ToString(); 
          or1.Parameters.Add("WWVTYP2", OracleType.NVarChar).Value = dwData["WWVTYP2"].ToString(); 
          or1.Parameters.Add("WWVERPART2", OracleType.NVarChar).Value = dwData["WWVERPART2"].ToString(); 
          or1.Parameters.Add("WWVERPWERT2", OracleType.NVarChar).Value = dwData["WWVERPWERT2"].ToString(); 
          or1.Parameters.Add("WWVERPFILLER2", OracleType.NVarChar).Value = dwData["WWVERPFILLER2"].ToString(); 
          or1.Parameters.Add("WWVTYP3", OracleType.NVarChar).Value = dwData["WWVTYP3"].ToString(); 
          or1.Parameters.Add("WWVERPART3", OracleType.NVarChar).Value = dwData["WWVERPART3"].ToString(); 
          or1.Parameters.Add("WWVERPWERT3", OracleType.NVarChar).Value = dwData["WWVERPWERT3"].ToString(); 
          or1.Parameters.Add("WWVERPFILLER3", OracleType.NVarChar).Value = dwData["WWVERPFILLER3"].ToString(); 
          or1.Parameters.Add("WWVTYP4", OracleType.NVarChar).Value = dwData["WWVTYP4"].ToString(); 
          or1.Parameters.Add("WWVERPART4", OracleType.NVarChar).Value = dwData["WWVERPART4"].ToString(); 
          or1.Parameters.Add("WWVERPWERT4", OracleType.NVarChar).Value = dwData["WWVERPWERT4"].ToString(); 
          or1.Parameters.Add("WWVERPFILLER4", OracleType.NVarChar).Value = dwData["WWVERPFILLER4"].ToString(); 
          or1.Parameters.Add("WWVTYP5", OracleType.NVarChar).Value = dwData["WWVTYP5"].ToString(); 
          or1.Parameters.Add("WWVERPART5", OracleType.NVarChar).Value = dwData["WWVERPART5"].ToString(); 
          or1.Parameters.Add("WWVERPWERT5", OracleType.NVarChar).Value = dwData["WWVERPWERT5"].ToString(); 
          or1.Parameters.Add("WWVERPFILLER5", OracleType.NVarChar).Value = dwData["WWVERPFILLER5"].ToString(); 
          or1.Parameters.Add("WWVTYP6", OracleType.NVarChar).Value = dwData["WWVTYP6"].ToString(); 
          or1.Parameters.Add("WWVERPART6", OracleType.NVarChar).Value = dwData["WWVERPART6"].ToString(); 
          or1.Parameters.Add("WWVERPWERT6", OracleType.NVarChar).Value = dwData["WWVERPWERT6"].ToString(); 
          or1.Parameters.Add("WWVERPFILLER6", OracleType.NVarChar).Value = dwData["WWVERPFILLER6"].ToString(); 
          or1.Parameters.Add("WWVTYP7", OracleType.NVarChar).Value = dwData["WWVTYP7"].ToString(); 
          or1.Parameters.Add("WWVERPART7", OracleType.NVarChar).Value = dwData["WWVERPART7"].ToString(); 
          or1.Parameters.Add("WWVERPWERT7", OracleType.NVarChar).Value = dwData["WWVERPWERT7"].ToString(); 
          or1.Parameters.Add("WWVERPFILLER7", OracleType.NVarChar).Value = dwData["WWVERPFILLER7"].ToString(); 
          or1.Parameters.Add("WWVTYP8", OracleType.NVarChar).Value = dwData["WWVTYP8"].ToString(); 
          or1.Parameters.Add("WWVERPART8", OracleType.NVarChar).Value = dwData["WWVERPART8"].ToString(); 
          or1.Parameters.Add("WWVERPWERT8", OracleType.NVarChar).Value = dwData["WWVERPWERT8"].ToString(); 
          or1.Parameters.Add("WWVERPFILLER8", OracleType.NVarChar).Value = dwData["WWVERPFILLER8"].ToString(); 
          or1.Parameters.Add("WWVTYP9", OracleType.NVarChar).Value = dwData["WWVTYP9"].ToString(); 
          or1.Parameters.Add("WWVERPART9", OracleType.NVarChar).Value = dwData["WWVERPART9"].ToString(); 
          or1.Parameters.Add("WWVERPWERT9", OracleType.NVarChar).Value = dwData["WWVERPWERT9"].ToString(); 
          or1.Parameters.Add("WWVERPFILLER9", OracleType.NVarChar).Value = dwData["WWVERPFILLER9"].ToString(); 
          or1.Parameters.Add("WWVTYP10", OracleType.NVarChar).Value = dwData["WWVTYP10"].ToString(); 
          or1.Parameters.Add("WWVERPART10", OracleType.NVarChar).Value = dwData["WWVERPART10"].ToString(); 
          or1.Parameters.Add("WWVERPWERT10", OracleType.NVarChar).Value = dwData["WWVERPWERT10"].ToString(); 
          or1.Parameters.Add("WWVERPFILLER10", OracleType.NVarChar).Value = dwData["WWVERPFILLER10"].ToString(); 
          or1.Parameters.Add("WWVTYP11", OracleType.NVarChar).Value = dwData["WWVTYP11"].ToString(); 
          or1.Parameters.Add("WWVERPART11", OracleType.NVarChar).Value = dwData["WWVERPART11"].ToString(); 
          or1.Parameters.Add("WWVERPWERT11", OracleType.NVarChar).Value = dwData["WWVERPWERT11"].ToString(); 
          or1.Parameters.Add("WWVERPFILLER11", OracleType.NVarChar).Value = dwData["WWVERPFILLER11"].ToString(); 
          or1.Parameters.Add("WWVTYP12", OracleType.NVarChar).Value = dwData["WWVTYP12"].ToString(); 
          or1.Parameters.Add("WWVERPART12", OracleType.NVarChar).Value = dwData["WWVERPART12"].ToString(); 
          or1.Parameters.Add("WWVERPWERT12", OracleType.NVarChar).Value = dwData["WWVERPWERT12"].ToString(); 
          or1.Parameters.Add("WWVERPFILLER12", OracleType.NVarChar).Value = dwData["WWVERPFILLER12"].ToString(); 
          or1.Parameters.Add("WWSTMENGE1", OracleType.NVarChar).Value = dwData["WWSTMENGE1"].ToString(); 
          or1.Parameters.Add("WWSTABBIS1", OracleType.NVarChar).Value = dwData["WWSTABBIS1"].ToString(); 
          or1.Parameters.Add("WWSTVH1", OracleType.NVarChar).Value = dwData["WWSTVH1"].ToString(); 
          or1.Parameters.Add("WWSTAK1", OracleType.NVarChar).Value = dwData["WWSTAK1"].ToString(); 
          or1.Parameters.Add("WWSTKU1", OracleType.NVarChar).Value = dwData["WWSTKU1"].ToString(); 
          or1.Parameters.Add("WWSTMENGE2", OracleType.NVarChar).Value = dwData["WWSTMENGE2"].ToString(); 
          or1.Parameters.Add("WWSTABBIS2", OracleType.NVarChar).Value = dwData["WWSTABBIS2"].ToString(); 
          or1.Parameters.Add("WWSTVH2", OracleType.NVarChar).Value = dwData["WWSTVH2"].ToString(); 
          or1.Parameters.Add("WWSTAK2", OracleType.NVarChar).Value = dwData["WWSTAK2"].ToString(); 
          or1.Parameters.Add("WWSTKU2", OracleType.NVarChar).Value = dwData["WWSTKU2"].ToString(); 
          or1.Parameters.Add("WWSTMENGE3", OracleType.NVarChar).Value = dwData["WWSTMENGE3"].ToString(); 
          or1.Parameters.Add("WWSTABBIS3", OracleType.NVarChar).Value = dwData["WWSTABBIS3"].ToString(); 
          or1.Parameters.Add("WWSTVH3", OracleType.NVarChar).Value = dwData["WWSTVH3"].ToString(); 
          or1.Parameters.Add("WWSTAK3", OracleType.NVarChar).Value = dwData["WWSTAK3"].ToString(); 
          or1.Parameters.Add("WWSTKU3", OracleType.NVarChar).Value = dwData["WWSTKU3"].ToString(); 
          or1.Parameters.Add("WWSTMENGE4", OracleType.NVarChar).Value = dwData["WWSTMENGE4"].ToString(); 
          or1.Parameters.Add("WWSTABBIS4", OracleType.NVarChar).Value = dwData["WWSTABBIS4"].ToString(); 
          or1.Parameters.Add("WWSTVH4", OracleType.NVarChar).Value = dwData["WWSTVH4"].ToString(); 
          or1.Parameters.Add("WWSTAK4", OracleType.NVarChar).Value = dwData["WWSTAK4"].ToString(); 
          or1.Parameters.Add("WWSTKU4", OracleType.NVarChar).Value = dwData["WWSTKU4"].ToString(); 
          or1.Parameters.Add("WWSTMENGE5", OracleType.NVarChar).Value = dwData["WWSTMENGE5"].ToString(); 
          or1.Parameters.Add("WWSTABBIS5", OracleType.NVarChar).Value = dwData["WWSTABBIS5"].ToString(); 
          or1.Parameters.Add("WWSTVH5", OracleType.NVarChar).Value = dwData["WWSTVH5"].ToString(); 
          or1.Parameters.Add("WWSTAK5", OracleType.NVarChar).Value = dwData["WWSTAK5"].ToString(); 
          or1.Parameters.Add("WWSTKU5", OracleType.NVarChar).Value = dwData["WWSTKU5"].ToString(); 
          or1.Parameters.Add("WWAENDZL", OracleType.NVarChar).Value = dwData["WWAENDZL"].ToString(); 
          or1.Parameters.Add("WWAENDBEN", OracleType.NVarChar).Value = dwData["WWAENDBEN"].ToString(); 
          or1.Parameters.Add("WWAENDDAT", OracleType.NVarChar).Value = dwData["WWAENDDAT"].ToString(); 
          or1.Parameters.Add("WWNEUBEN", OracleType.NVarChar).Value = dwData["WWNEUBEN"].ToString(); 
          or1.Parameters.Add("WWNEUDAT", OracleType.NVarChar).Value = dwData["WWNEUDAT"].ToString(); 
          or1.Parameters.Add("WWFILLER", OracleType.NVarChar).Value = dwData["WWFILLER"].ToString(); 
                    #endregion
                    break; 
                default:
                    break;
            }


            Connect2Proxy(or1);
        }
    }
}
